package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallUserAddressDao;
import com.appkubes.mall.core.entity.MallUserAddress;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallUserAddressService extends AbstractBaseService<BaseMallUserAddressDao, MallUserAddress> {

    MallUserAddress getOneByEntity(MallUserAddress entity);

    List<MallUserAddress> selectListByEntity(MallUserAddress entity);

    IPage<MallUserAddress> selectPageByEntity(IPage<MallUserAddress> page);
    IPage<MallUserAddress> selectPageByEntity(PageVO pageVO);

    IPage<MallUserAddress> selectPageByEntity(MallUserAddress entity, IPage<MallUserAddress> page);
    IPage<MallUserAddress> selectPageByEntity(MallUserAddress entity, PageVO pageVO);

    IPage<MallUserAddress> selectPageByEntity(MallUserAddress entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallUserAddress entity);
}
